package com.incar.chuxing.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by Michael Pi on 2016/11/25.
 */

public class PopPostBean {

    /**
     * status : 200
     * message : 成功
     * debug : null
     * attachment : [{"title":"","imgUrl":"https://img.ekuaitu.cn/kuaitudongli/picture/1911","h5Url":"https://www.baidu.com/s?wd=unicode&rsv_spt=1&rsv_iqid=0xc4ca3b600000d0ea&issp=1&f=8&rsv_bp=0&rsv_idx=2&ie=utf-8&tn=baiduhome_pg&rsv_enter=1&rsv_sug3=2&rsv_sug1=1&rsv_sug7=001","startTime":"2017-02-06 17:53:07","endTime":"2017-09-27 17:53:23"},{"title":"","imgUrl":"https://img.ekuaitu.cn/kuaitudongli/picture/1916","h5Url":"https://mp.weixin.qq.com/s/RRKNhqyG2_FyISGqbIpZ6A","startTime":"2016-12-10 13:38:52","endTime":"2017-03-29 13:38:55"}]
     */

    @SerializedName("status")
    private int status;
    @SerializedName("message")
    private String message;
    @SerializedName("debug")
    private Object debug;
    @SerializedName("attachment")
    private List<AttachmentBean> attachment;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getDebug() {
        return debug;
    }

    public void setDebug(Object debug) {
        this.debug = debug;
    }

    public List<AttachmentBean> getAttachment() {
        return attachment;
    }

    public void setAttachment(List<AttachmentBean> attachment) {
        this.attachment = attachment;
    }

    public static class AttachmentBean {
        /**
         * title :
         * imgUrl : https://img.ekuaitu.cn/kuaitudongli/picture/1911
         * h5Url : https://www.baidu.com/s?wd=unicode&rsv_spt=1&rsv_iqid=0xc4ca3b600000d0ea&issp=1&f=8&rsv_bp=0&rsv_idx=2&ie=utf-8&tn=baiduhome_pg&rsv_enter=1&rsv_sug3=2&rsv_sug1=1&rsv_sug7=001
         * startTime : 2017-02-06 17:53:07
         * endTime : 2017-09-27 17:53:23
         */

        @SerializedName("title")
        private String title;
        @SerializedName("imgUrl")
        private String imgUrl;
        @SerializedName("h5Url")
        private String h5Url;
        @SerializedName("startTime")
        private long startTime;
        @SerializedName("endTime")
        private long endTime;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getImgUrl() {
            return imgUrl;
        }

        public void setImgUrl(String imgUrl) {
            this.imgUrl = imgUrl;
        }

        public String getH5Url() {
            return h5Url;
        }

        public void setH5Url(String h5Url) {
            this.h5Url = h5Url;
        }

        public long getStartTime() {
            return startTime;
        }

        public void setStartTime(long startTime) {
            this.startTime = startTime;
        }

        public long getEndTime() {
            return endTime;
        }

        public void setEndTime(long endTime) {
            this.endTime = endTime;
        }
    }
}
